package com.woniu.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户登录的业务实体
 * @author tarnett
 */
@Data
@ApiModel("用户登录的业务实体")
public class UserLoginDTO {
    @NotBlank(message = "请输入用户名")
    @ApiModelProperty("用户名")
    private String account;
    @NotBlank(message = "请输入密码")
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("openId")
    private String openId;
}
